package com.moss.cloud.remote.biz;

import com.moss.cloud.common.security.annotation.*;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * remote服务启动器
 * @author 瑾年
 * @data 2023年3月6日
 */
@EnableLog
@EnableCache
@EnableRocketMQ
@EnableSecurity
@EnableClientAuth
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = {
		"com.moss.cloud.common.security.permission"
})
public class RemoteApplication {

	public static void main(String[] args) {
		SpringApplication.run(RemoteApplication.class, args);
	}

}
